<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>字符串、整数、布尔、数组</h1>
	</body>
	<script>
		var str ="javascript的数据类型";
		console.log(str);
		var i =100;
		console.log(i);
		var isMan =true;
		console.log(isMan);
		var hobby =["乒乓球","唱歌","爬山","见算计","下象棋"]
		console.log(hobby);
		console.log(hobby[0]);//数组下标从0开始
		console.log(hobby[hobby.length-1]);//最后一个元素
	</script>
</html>
